<div class="left">
    <% if (isMyself && handleType != 'editPhoto') { %>
    <div class="leftHeader">
        <div class="floatLeft">
            <% if(photoType === 'public' && index > 0){ %>
            <a class="button mainPhoto">Set it as main photo</a>
            <% } %>
            <% if(photoType === 'public'){ %>
            <a class="button movePhoto">Move to private album</a>
            <% } else if(photoType === 'private'){ %>
            <a class="button movePhoto">Move to public album</a>
            <% } %>
        </div>
        <div class="floatRight">
            <ul>
                <li><a class="button editPhoto">Edit</a></li>
                <li><a class="button deletePhoto">Delete</a></li>
            </ul>
        </div>
    </div>
    <% } %>
    <% if(handleType != 'editPhoto'){ %>
    <div class="mainPic">
        <a class="arrowLeft"></a>
        <div class="mainPicBox">
            <img class="imglazyload" src="<%= Share.placeholderImg()%>" item_id="<%=item_id %>" url="<%=picture %>" />
        </div>
        <a class="arrowRight"></a>
        <span class="photosNum"><%= numTips %></span>
    </div>
    <% } else { %>   
    <div class="mainPic">
        <div class="rotatePhoto"></div>
        <!-- <div class="mainPicBox mainPicEdit">
            <img class="editImg" item_id="<%=item_id %>" src="<%=picture %>" />
        </div> -->
    </div>
    <% } %>
</div>
